//
//  NSData+Crc16.h
//  xy_hehu
//
//  Created by pac on 2019/4/22.
//  Copyright © 2019 pac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSData (Crc16)

//Nsdata  CRC 校验 ，返回data
-(NSData*)crc16 ;

//Nsdata 转化成 hex字符串
- (NSString *)hexadecimalString;

- (NSString *)convertDataToHexStr:(NSData *)data;

@end
